package com.kingyun.gpsinspection.purificationservice.dao.mapper.iam.scyx;


import com.kingyun.gpsinspection.purificationservice.facade.model.iam.scyx.DeviceSumInfo;
import com.kingyun.gpsinspection.purificationservice.facade.model.iam.scyx.DeviceSumInfoVo;

import java.util.List;

public interface DeviceSumInfoMapper {
    /**
     * 新增操作
     *
     * @param record
     * @return
     */
    int insertSelective(DeviceSumInfo record);

    /**
     * 根据主键 查询单个信息
     * @param deviceSumId
     * @return
     */
    DeviceSumInfo selectByPrimaryKey(String deviceSumId);

    /**
     * 查询操作 列表
     * @param deviceSumInfo
     * @return
     */
    List<DeviceSumInfo> queryList(DeviceSumInfo deviceSumInfo);

    /**
     * 查询操作 总数
     * @param deviceSumInfo
     * @return
     */
    Integer queryCount(DeviceSumInfo deviceSumInfo);

    /**
     * 查询当前台账下面的所有子类型信息
     * @param deviceSumId 台账Id
     * @return
     */
    List<DeviceSumInfoVo> deviceSumSubTypeInfo(String deviceSumId);
}